import { z } from "zod";
import { UserDto } from "../dto";
import { DtoOmitType, DtoPickType, classDto2Zod } from "src/utils";
import { ApiProp } from 'src/decorator/swagger';

/** 用户新增 */
export class UserInsertDto extends DtoPickType(UserDto, [
  'email', 'psw'
]) {

};

/** 用户新增 */
export const UserInsertZod = classDto2Zod(UserInsertDto);